home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / a_utils / perl / mac-perl / gs_102st.bin / GUSI / Headers / sys_fcntl.h < prev    next >
MacBinary  |  1992-04-19  |  4.5 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Sun Apr 19 18:38:02 1992, modified Sun Apr 19 18:38:02 1992, creator 'MPS ', type ASCII, 3967 bytes "sys_fcntl.h" , at 0xfff 428 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 73 79 73 5f 66 63 | 6e 74 6c 2e 68 00 00 00 |..sys_fc|ntl.h...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 00 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 0f 7f 00 | 00 01 ac a6 17 a6 ca a6 |........|........|
|00000060| 17 a6 ca 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 3c a8 00 00 |........|....<...|
|00000080| 2f 2a 2d 0d 20 2a 20 43 | 6f 70 79 72 69 67 68 74 |/*-. * C|opyright|
|00000090| 20 28 63 29 20 31 39 38 | 33 2c 20 31 39 39 30 20 | (c) 198|3, 1990 |
|000000a0| 54 68 65 20 52 65 67 65 | 6e 74 73 20 6f 66 20 74 |The Rege|nts of t|
|000000b0| 68 65 20 55 6e 69 76 65 | 72 73 69 74 79 20 6f 66 |he Unive|rsity of|
|000000c0| 20 43 61 6c 69 66 6f 72 | 6e 69 61 2e 0d 20 2a 20 | Califor|nia.. * |
|000000d0| 41 6c 6c 20 72 69 67 68 | 74 73 20 72 65 73 65 72 |All righ|ts reser|
|000000e0| 76 65 64 2e 0d 20 2a 0d | 20 2a 20 52 65 64 69 73 |ved.. *.| * Redis|
|000000f0| 74 72 69 62 75 74 69 6f | 6e 20 69 73 20 6f 6e 6c |tributio|n is onl|
|00000100| 79 20 70 65 72 6d 69 74 | 74 65 64 20 75 6e 74 69 |y permit|ted unti|
|00000110| 6c 20 6f 6e 65 20 79 65 | 61 72 20 61 66 74 65 72 |l one ye|ar after|
|00000120| 20 74 68 65 20 66 69 72 | 73 74 20 73 68 69 70 6d | the fir|st shipm|
|00000130| 65 6e 74 0d 20 2a 20 6f | 66 20 34 2e 34 42 53 44 |ent. * o|f 4.4BSD|
|00000140| 20 62 79 20 74 68 65 20 | 52 65 67 65 6e 74 73 2e | by the |Regents.|
|00000150| 20 20 4f 74 68 65 72 77 | 69 73 65 2c 20 72 65 64 | Otherw|ise, red|
|00000160| 69 73 74 72 69 62 75 74 | 69 6f 6e 20 61 6e 64 20 |istribut|ion and |
|00000170| 75 73 65 20 69 6e 20 73 | 6f 75 72 63 65 20 61 6e |use in s|ource an|
|00000180| 64 0d 20 2a 20 62 69 6e | 61 72 79 20 66 6f 72 6d |d. * bin|ary form|
|00000190| 73 20 61 72 65 20 70 65 | 72 6d 69 74 74 65 64 20 |s are pe|rmitted |
|000001a0| 70 72 6f 76 69 64 65 64 | 20 74 68 61 74 3a 20 28 |provided| that: (|
|000001b0| 31 29 20 73 6f 75 72 63 | 65 20 64 69 73 74 72 69 |1) sourc|e distri|
|000001c0| 62 75 74 69 6f 6e 73 20 | 72 65 74 61 69 6e 0d 20 |butions |retain. |
|000001d0| 2a 20 74 68 69 73 20 65 | 6e 74 69 72 65 20 63 6f |* this e|ntire co|
|000001e0| 70 79 72 69 67 68 74 20 | 6e 6f 74 69 63 65 20 61 |pyright |notice a|
|000001f0| 6e 64 20 63 6f 6d 6d 65 | 6e 74 2c 20 61 6e 64 20 |nd comme|nt, and |
|00000200| 28 32 29 20 64 69 73 74 | 72 69 62 75 74 69 6f 6e |(2) dist|ribution|
|00000210| 73 20 69 6e 63 6c 75 64 | 69 6e 67 0d 20 2a 20 62 |s includ|ing. * b|
|00000220| 69 6e 61 72 69 65 73 20 | 64 69 73 70 6c 61 79 20 |inaries |display |
|00000230| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 61 63 |the foll|owing ac|
|00000240| 6b 6e 6f 77 6c 65 64 67 | 65 6d 65 6e 74 3a 20 20 |knowledg|ement: |
|00000250| 54 68 69 73 20 70 72 6f | 64 75 63 74 20 69 6e 63 |This pro|duct inc|
|00000260| 6c 75 64 65 73 0d 20 2a | 20 73 6f 66 74 77 61 72 |ludes. *| softwar|
|00000270| 65 20 64 65 76 65 6c 6f | 70 65 64 20 62 79 20 74 |e develo|ped by t|
|00000280| 68 65 20 55 6e 69 76 65 | 72 73 69 74 79 20 6f 66 |he Unive|rsity of|
|00000290| 20 43 61 6c 69 66 6f 72 | 6e 69 61 2c 20 42 65 72 | Califor|nia, Ber|
|000002a0| 6b 65 6c 65 79 20 61 6e | 64 20 69 74 73 0d 20 2a |keley an|d its. *|
|000002b0| 20 63 6f 6e 74 72 69 62 | 75 74 6f 72 73 27 27 20 | contrib|utors'' |
|000002c0| 69 6e 20 74 68 65 20 64 | 6f 63 75 6d 65 6e 74 61 |in the d|ocumenta|
|000002d0| 74 69 6f 6e 20 6f 72 20 | 6f 74 68 65 72 20 6d 61 |tion or |other ma|
|000002e0| 74 65 72 69 61 6c 73 20 | 70 72 6f 76 69 64 65 64 |terials |provided|
|000002f0| 20 77 69 74 68 20 74 68 | 65 0d 20 2a 20 64 69 73 | with th|e. * dis|
|00000300| 74 72 69 62 75 74 69 6f | 6e 20 61 6e 64 20 69 6e |tributio|n and in|
|00000310| 20 61 6c 6c 20 61 64 76 | 65 72 74 69 73 69 6e 67 | all adv|ertising|
|00000320| 20 6d 61 74 65 72 69 61 | 6c 73 20 6d 65 6e 74 69 | materia|ls menti|
|00000330| 6f 6e 69 6e 67 20 66 65 | 61 74 75 72 65 73 20 6f |oning fe|atures o|
|00000340| 72 20 75 73 65 0d 20 2a | 20 6f 66 20 74 68 69 73 |r use. *| of this|
|00000350| 20 73 6f 66 74 77 61 72 | 65 2e 20 20 4e 65 69 74 | softwar|e. Neit|
|00000360| 68 65 72 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 |her the |name of |
|00000370| 74 68 65 20 55 6e 69 76 | 65 72 73 69 74 79 20 6e |the Univ|ersity n|
|00000380| 6f 72 20 74 68 65 20 6e | 61 6d 65 73 20 6f 66 0d |or the n|ames of.|
|00000390| 20 2a 20 69 74 73 20 63 | 6f 6e 74 72 69 62 75 74 | * its c|ontribut|
|000003a0| 6f 72 73 20 6d 61 79 20 | 62 65 20 75 73 65 64 20 |ors may |be used |
|000003b0| 74 6f 20 65 6e 64 6f 72 | 73 65 20 6f 72 20 70 72 |to endor|se or pr|
|000003c0| 6f 6d 6f 74 65 20 70 72 | 6f 64 75 63 74 73 20 64 |omote pr|oducts d|
|000003d0| 65 72 69 76 65 64 20 66 | 72 6f 6d 0d 20 2a 20 74 |erived f|rom. * t|
|000003e0| 68 69 73 20 73 6f 66 74 | 77 61 72 65 20 77 69 74 |his soft|ware wit|
|000003f0| 68 6f 75 74 20 73 70 65 | 63 69 66 69 63 20 70 72 |hout spe|cific pr|
|00000400| 69 6f 72 20 77 72 69 74 | 74 65 6e 20 70 65 72 6d |ior writ|ten perm|
|00000410| 69 73 73 69 6f 6e 2e 0d | 20 2a 20 54 48 49 53 20 |ission..| * THIS |
|00000420| 53 4f 46 54 57 41 52 45 | 20 49 53 20 50 52 4f 56 |SOFTWARE| IS PROV|
|00000430| 49 44 45 44 20 41 53 20 | 49 53 27 27 20 41 4e 44 |IDED AS |IS'' AND|
|00000440| 20 57 49 54 48 4f 55 54 | 20 41 4e 59 20 45 58 50 | WITHOUT| ANY EXP|
|00000450| 52 45 53 53 20 4f 52 20 | 49 4d 50 4c 49 45 44 0d |RESS OR |IMPLIED.|
|00000460| 20 2a 20 57 41 52 52 41 | 4e 54 49 45 53 2c 20 49 | * WARRA|NTIES, I|
|00000470| 4e 43 4c 55 44 49 4e 47 | 2c 20 57 49 54 48 4f 55 |NCLUDING|, WITHOU|
|00000480| 54 20 4c 49 4d 49 54 41 | 54 49 4f 4e 2c 20 54 48 |T LIMITA|TION, TH|
|00000490| 45 20 49 4d 50 4c 49 45 | 44 20 57 41 52 52 41 4e |E IMPLIE|D WARRAN|
|000004a0| 54 49 45 53 20 4f 46 0d | 20 2a 20 4d 45 52 43 48 |TIES OF.| * MERCH|
|000004b0| 41 4e 54 41 42 49 4c 49 | 54 59 20 41 4e 44 20 46 |ANTABILI|TY AND F|
|000004c0| 49 54 4e 45 53 53 20 46 | 4f 52 20 41 20 50 41 52 |ITNESS F|OR A PAR|
|000004d0| 54 49 43 55 4c 41 52 20 | 50 55 52 50 4f 53 45 2e |TICULAR |PURPOSE.|
|000004e0| 0d 20 2a 0d 20 2a 09 40 | 28 23 29 66 63 6e 74 6c |. *. *.@|(#)fcntl|
|000004f0| 2e 68 09 35 2e 35 20 28 | 42 65 72 6b 65 6c 65 79 |.h.5.5 (|Berkeley|
|00000500| 29 20 35 2f 32 39 2f 39 | 30 0d 20 2a 2f 0d 0d 23 |) 5/29/9|0. */..#|
|00000510| 69 66 6e 64 65 66 20 46 | 5f 44 55 50 46 44 0d 0d |ifndef F|_DUPFD..|
|00000520| 2f 2a 20 63 6f 6d 6d 61 | 6e 64 20 76 61 6c 75 65 |/* comma|nd value|
|00000530| 73 20 66 6f 72 20 66 63 | 6e 74 6c 28 32 29 20 2a |s for fc|ntl(2) *|
|00000540| 2f 0d 23 64 65 66 69 6e | 65 09 46 5f 44 55 50 46 |/.#defin|e.F_DUPF|
|00000550| 44 09 09 30 09 09 2f 2a | 20 64 75 70 6c 69 63 61 |D..0../*| duplica|
|00000560| 74 65 20 66 69 6c 65 20 | 64 65 73 63 72 69 70 74 |te file |descript|
|00000570| 6f 72 20 2a 2f 0d 23 64 | 65 66 69 6e 65 09 46 5f |or */.#d|efine.F_|
|00000580| 47 45 54 46 44 09 09 31 | 09 09 2f 2a 20 67 65 74 |GETFD..1|../* get|
|00000590| 20 66 69 6c 65 20 64 65 | 73 63 72 69 70 74 6f 72 | file de|scriptor|
|000005a0| 20 66 6c 61 67 73 20 2a | 2f 0d 23 64 65 66 69 6e | flags *|/.#defin|
|000005b0| 65 09 46 5f 53 45 54 46 | 44 09 09 32 09 09 2f 2a |e.F_SETF|D..2../*|
|000005c0| 20 73 65 74 20 66 69 6c | 65 20 64 65 73 63 72 69 | set fil|e descri|
|000005d0| 70 74 6f 72 20 66 6c 61 | 67 73 20 2a 2f 0d 23 64 |ptor fla|gs */.#d|
|000005e0| 65 66 69 6e 65 09 46 5f | 47 45 54 46 4c 09 09 33 |efine.F_|GETFL..3|
|000005f0| 09 09 2f 2a 20 67 65 74 | 20 66 69 6c 65 20 73 74 |../* get| file st|
|00000600| 61 74 75 73 20 66 6c 61 | 67 73 20 2a 2f 0d 23 64 |atus fla|gs */.#d|
|00000610| 65 66 69 6e 65 09 46 5f | 53 45 54 46 4c 09 09 34 |efine.F_|SETFL..4|
|00000620| 09 09 2f 2a 20 73 65 74 | 20 66 69 6c 65 20 73 74 |../* set| file st|
|00000630| 61 74 75 73 20 66 6c 61 | 67 73 20 2a 2f 0d 23 69 |atus fla|gs */.#i|
|00000640| 66 6e 64 65 66 20 5f 50 | 4f 53 49 58 5f 53 4f 55 |fndef _P|OSIX_SOU|
|00000650| 52 43 45 0d 23 64 65 66 | 69 6e 65 09 46 5f 47 45 |RCE.#def|ine.F_GE|
|00000660| 54 4f 57 4e 09 35 09 09 | 2f 2a 20 67 65 74 20 53 |TOWN.5..|/* get S|
|00000670| 49 47 49 4f 2f 53 49 47 | 55 52 47 20 70 72 6f 63 |IGIO/SIG|URG proc|
|00000680| 2f 70 67 72 70 20 2a 2f | 0d 23 64 65 66 69 6e 65 |/pgrp */|.#define|
|00000690| 20 46 5f 53 45 54 4f 57 | 4e 09 36 09 09 2f 2a 20 | F_SETOW|N.6../* |
|000006a0| 73 65 74 20 53 49 47 49 | 4f 2f 53 49 47 55 52 47 |set SIGI|O/SIGURG|
|000006b0| 20 70 72 6f 63 2f 70 67 | 72 70 20 2a 2f 0d 23 65 | proc/pg|rp */.#e|
|000006c0| 6e 64 69 66 0d 23 64 65 | 66 69 6e 65 09 46 5f 47 |ndif.#de|fine.F_G|
|000006d0| 45 54 4c 4b 09 09 37 09 | 09 2f 2a 20 67 65 74 20 |ETLK..7.|./* get |
|000006e0| 72 65 63 6f 72 64 20 6c | 6f 63 6b 69 6e 67 20 69 |record l|ocking i|
|000006f0| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 2a 2f 0d 23 64 |nformati|on */.#d|
|00000700| 65 66 69 6e 65 09 46 5f | 53 45 54 4c 4b 09 09 38 |efine.F_|SETLK..8|
|00000710| 09 09 2f 2a 20 73 65 74 | 20 72 65 63 6f 72 64 20 |../* set| record |
|00000720| 6c 6f 63 6b 69 6e 67 20 | 69 6e 66 6f 72 6d 61 74 |locking |informat|
|00000730| 69 6f 6e 20 2a 2f 0d 23 | 64 65 66 69 6e 65 09 46 |ion */.#|define.F|
|00000740| 5f 53 45 54 4c 4b 57 09 | 39 09 09 2f 2a 20 46 5f |_SETLKW.|9../* F_|
|00000750| 53 45 54 4c 4b 3b 20 77 | 61 69 74 20 69 66 20 62 |SETLK; w|ait if b|
|00000760| 6c 6f 63 6b 65 64 20 2a | 2f 0d 0d 2f 2a 20 66 69 |locked *|/../* fi|
|00000770| 6c 65 20 64 65 73 63 72 | 69 70 74 6f 72 20 66 6c |le descr|iptor fl|
|00000780| 61 67 73 20 28 46 5f 47 | 45 54 46 44 2c 20 46 5f |ags (F_G|ETFD, F_|
|00000790| 53 45 54 46 44 29 20 2a | 2f 0d 23 64 65 66 69 6e |SETFD) *|/.#defin|
|000007a0| 65 09 46 44 5f 43 4c 4f | 45 58 45 43 09 31 09 09 |e.FD_CLO|EXEC.1..|
|000007b0| 2f 2a 20 63 6c 6f 73 65 | 2d 6f 6e 2d 65 78 65 63 |/* close|-on-exec|
|000007c0| 20 66 6c 61 67 20 2a 2f | 0d 0d 2f 2a 20 72 65 63 | flag */|../* rec|
|000007d0| 6f 72 64 20 6c 6f 63 6b | 69 6e 67 20 66 6c 61 67 |ord lock|ing flag|
|000007e0| 73 20 28 46 5f 47 45 54 | 4c 4b 2c 20 46 5f 53 45 |s (F_GET|LK, F_SE|
|000007f0| 54 4c 4b 2c 20 46 5f 53 | 45 54 4c 4b 57 29 20 2a |TLK, F_S|ETLKW) *|
|00000800| 2f 0d 23 64 65 66 69 6e | 65 09 46 5f 52 44 4c 43 |/.#defin|e.F_RDLC|
|00000810| 4b 09 09 31 09 09 2f 2a | 20 73 68 61 72 65 64 20 |K..1../*| shared |
|00000820| 6f 72 20 72 65 61 64 20 | 6c 6f 63 6b 20 2a 2f 0d |or read |lock */.|
|00000830| 23 64 65 66 69 6e 65 09 | 46 5f 55 4e 4c 43 4b 09 |#define.|F_UNLCK.|
|00000840| 09 32 09 09 2f 2a 20 75 | 6e 6c 6f 63 6b 20 2a 2f |.2../* u|nlock */|
|00000850| 0d 23 64 65 66 69 6e 65 | 09 46 5f 57 52 4c 43 4b |.#define|.F_WRLCK|
|00000860| 09 09 33 09 09 2f 2a 20 | 65 78 63 6c 75 73 69 76 |..3../* |exclusiv|
|00000870| 65 20 6f 72 20 77 72 69 | 74 65 20 6c 6f 63 6b 20 |e or wri|te lock |
|00000880| 2a 2f 0d 0d 23 69 66 6e | 64 65 66 20 5f 50 4f 53 |*/..#ifn|def _POS|
|00000890| 49 58 5f 53 4f 55 52 43 | 45 0d 2f 2a 20 6c 6f 63 |IX_SOURC|E./* loc|
|000008a0| 6b 20 6f 70 65 72 61 74 | 69 6f 6e 73 20 66 6f 72 |k operat|ions for|
|000008b0| 20 66 6c 6f 63 6b 28 32 | 29 20 2a 2f 0d 23 64 65 | flock(2|) */.#de|
|000008c0| 66 69 6e 65 09 4c 4f 43 | 4b 5f 53 48 09 09 30 78 |fine.LOC|K_SH..0x|
|000008d0| 30 31 09 09 2f 2a 20 73 | 68 61 72 65 64 20 66 69 |01../* s|hared fi|
|000008e0| 6c 65 20 6c 6f 63 6b 20 | 2a 2f 0d 23 64 65 66 69 |le lock |*/.#defi|
|000008f0| 6e 65 09 4c 4f 43 4b 5f | 45 58 09 09 30 78 30 32 |ne.LOCK_|EX..0x02|
|00000900| 09 09 2f 2a 20 65 78 63 | 6c 75 73 69 76 65 20 66 |../* exc|lusive f|
|00000910| 69 6c 65 20 6c 6f 63 6b | 20 2a 2f 0d 23 64 65 66 |ile lock| */.#def|
|00000920| 69 6e 65 09 4c 4f 43 4b | 5f 4e 42 09 09 30 78 30 |ine.LOCK|_NB..0x0|
|00000930| 34 09 09 2f 2a 20 64 6f | 6e 27 74 20 62 6c 6f 63 |4../* do|n't bloc|
|00000940| 6b 20 77 68 65 6e 20 6c | 6f 63 6b 69 6e 67 20 2a |k when l|ocking *|
|00000950| 2f 0d 23 64 65 66 69 6e | 65 09 4c 4f 43 4b 5f 55 |/.#defin|e.LOCK_U|
|00000960| 4e 09 09 30 78 30 38 09 | 09 2f 2a 20 75 6e 6c 6f |N..0x08.|./* unlo|
|00000970| 63 6b 20 66 69 6c 65 20 | 2a 2f 0d 23 65 6e 64 69 |ck file |*/.#endi|
|00000980| 66 0d 0d 2f 2a 20 66 69 | 6c 65 20 73 74 61 74 75 |f../* fi|le statu|
|00000990| 73 20 66 6c 61 67 73 20 | 2a 2f 0d 23 64 65 66 69 |s flags |*/.#defi|
|000009a0| 6e 65 09 4f 5f 52 44 4f | 4e 4c 59 09 30 30 30 30 |ne.O_RDO|NLY.0000|
|000009b0| 30 09 09 2f 2a 20 6f 70 | 65 6e 20 66 6f 72 20 72 |0../* op|en for r|
|000009c0| 65 61 64 69 6e 67 20 6f | 6e 6c 79 20 2a 2f 0d 23 |eading o|nly */.#|
|000009d0| 64 65 66 69 6e 65 09 4f | 5f 57 52 4f 4e 4c 59 09 |define.O|_WRONLY.|
|000009e0| 30 30 30 30 31 09 09 2f | 2a 20 6f 70 65 6e 20 66 |00001../|* open f|
|000009f0| 6f 72 20 77 72 69 74 69 | 6e 67 20 6f 6e 6c 79 20 |or writi|ng only |
|00000a00| 2a 2f 0d 23 64 65 66 69 | 6e 65 09 4f 5f 52 44 57 |*/.#defi|ne.O_RDW|
|00000a10| 52 09 09 30 30 30 30 32 | 09 09 2f 2a 20 6f 70 65 |R..00002|../* ope|
|00000a20| 6e 20 66 6f 72 20 72 65 | 61 64 69 6e 67 20 61 6e |n for re|ading an|
|00000a30| 64 20 77 72 69 74 69 6e | 67 20 2a 2f 0d 23 64 65 |d writin|g */.#de|
|00000a40| 66 69 6e 65 09 4f 5f 4e | 4f 4e 42 4c 4f 43 4b 09 |fine.O_N|ONBLOCK.|
|00000a50| 30 30 30 30 34 09 09 2f | 2a 20 6e 6f 20 64 65 6c |00004../|* no del|
|00000a60| 61 79 20 2a 2f 0d 23 69 | 66 6e 64 65 66 20 5f 50 |ay */.#i|fndef _P|
|00000a70| 4f 53 49 58 5f 53 4f 55 | 52 43 45 0d 23 64 65 66 |OSIX_SOU|RCE.#def|
|00000a80| 69 6e 65 09 4f 5f 4e 44 | 45 4c 41 59 09 4f 5f 4e |ine.O_ND|ELAY.O_N|
|00000a90| 4f 4e 42 4c 4f 43 4b 0d | 23 64 65 66 69 6e 65 09 |ONBLOCK.|#define.|
|00000aa0| 46 4e 44 45 4c 41 59 09 | 09 4f 5f 4e 4f 4e 42 4c |FNDELAY.|.O_NONBL|
|00000ab0| 4f 43 4b 0d 23 65 6e 64 | 69 66 0d 2f 2a 09 09 09 |OCK.#end|if./*...|
|00000ac0| 30 30 30 30 38 09 09 2f | 2a 20 75 6e 75 73 65 64 |00008../|* unused|
|00000ad0| 20 2a 2f 0d 23 64 65 66 | 69 6e 65 09 4f 5f 41 50 | */.#def|ine.O_AP|
|00000ae0| 50 45 4e 44 09 30 30 30 | 31 30 09 09 2f 2a 20 73 |PEND.000|10../* s|
|00000af0| 65 74 20 61 70 70 65 6e | 64 20 6d 6f 64 65 20 2a |et appen|d mode *|
|00000b00| 2f 0d 23 69 66 6e 64 65 | 66 20 5f 50 4f 53 49 58 |/.#ifnde|f _POSIX|
|00000b10| 5f 53 4f 55 52 43 45 0d | 23 64 65 66 69 6e 65 09 |_SOURCE.|#define.|
|00000b20| 46 41 50 50 45 4e 44 09 | 09 4f 5f 41 50 50 45 4e |FAPPEND.|.O_APPEN|
|00000b30| 44 0d 23 65 6e 64 69 66 | 0d 09 09 09 09 09 2f 2a |D.#endif|....../*|
|00000b40| 20 6b 65 72 6e 65 6c 20 | 70 6c 61 63 65 68 6f 6c | kernel |placehol|
|00000b50| 64 65 72 73 20 2a 2f 0d | 23 69 66 20 21 64 65 66 |ders */.|#if !def|
|00000b60| 69 6e 65 64 28 5f 50 4f | 53 49 58 5f 53 4f 55 52 |ined(_PO|SIX_SOUR|
|00000b70| 43 45 29 20 26 26 20 64 | 65 66 69 6e 65 64 28 4b |CE) && d|efined(K|
|00000b80| 45 52 4e 45 4c 29 0d 23 | 64 65 66 69 6e 65 09 4f |ERNEL).#|define.O|
|00000b90| 5f 4d 41 52 4b 09 09 30 | 30 30 32 30 09 09 2f 2a |_MARK..0|0020../*|
|00000ba0| 20 6d 61 72 6b 20 64 75 | 72 69 6e 67 20 67 63 28 | mark du|ring gc(|
|00000bb0| 29 20 2a 2f 0d 23 64 65 | 66 69 6e 65 09 4f 5f 44 |) */.#de|fine.O_D|
|00000bc0| 45 46 45 52 09 09 30 30 | 30 34 30 09 09 2f 2a 20 |EFER..00|040../* |
|00000bd0| 64 65 66 65 72 20 66 6f | 72 20 6e 65 78 74 20 67 |defer fo|r next g|
|00000be0| 63 20 70 61 73 73 20 2a | 2f 0d 23 65 6e 64 69 66 |c pass *|/.#endif|
|00000bf0| 0d 2f 2a 09 09 09 30 30 | 30 38 30 09 09 2f 2a 20 |./*...00|080../* |
|00000c00| 75 6e 75 73 65 64 20 2a | 2f 0d 23 69 66 6e 64 65 |unused *|/.#ifnde|
|00000c10| 66 20 5f 50 4f 53 49 58 | 5f 53 4f 55 52 43 45 0d |f _POSIX|_SOURCE.|
|00000c20| 23 64 65 66 69 6e 65 09 | 4f 5f 41 53 59 4e 43 09 |#define.|O_ASYNC.|
|00000c30| 09 30 30 31 30 30 09 09 | 2f 2a 20 73 69 67 6e 61 |.00100..|/* signa|
|00000c40| 6c 20 70 67 72 70 20 77 | 68 65 6e 20 64 61 74 61 |l pgrp w|hen data|
|00000c50| 20 72 65 61 64 79 20 2a | 2f 0d 23 64 65 66 69 6e | ready *|/.#defin|
|00000c60| 65 09 46 41 53 59 4e 43 | 09 09 4f 5f 41 53 59 4e |e.FASYNC|..O_ASYN|
|00000c70| 43 0d 23 64 65 66 69 6e | 65 09 4f 5f 53 48 4c 4f |C.#defin|e.O_SHLO|
|00000c80| 43 4b 09 30 30 32 30 30 | 09 09 2f 2a 20 73 68 61 |CK.00200|../* sha|
|00000c90| 72 65 64 20 66 69 6c 65 | 20 6c 6f 63 6b 20 70 72 |red file| lock pr|
|00000ca0| 65 73 65 6e 74 20 2a 2f | 0d 23 64 65 66 69 6e 65 |esent */|.#define|
|00000cb0| 09 4f 5f 45 58 4c 4f 43 | 4b 09 30 30 34 30 30 09 |.O_EXLOC|K.00400.|
|00000cc0| 09 2f 2a 20 65 78 63 6c | 75 73 69 76 65 20 66 69 |./* excl|usive fi|
|00000cd0| 6c 65 20 6c 6f 63 6b 20 | 70 72 65 73 65 6e 74 20 |le lock |present |
|00000ce0| 2a 2f 0d 2f 2a 09 09 09 | 30 30 38 30 30 09 09 2f |*/./*...|00800../|
|00000cf0| 2a 20 75 6e 75 73 65 64 | 20 2a 2f 0d 23 65 6e 64 |* unused| */.#end|
|00000d00| 69 66 0d 23 64 65 66 69 | 6e 65 09 4f 5f 43 52 45 |if.#defi|ne.O_CRE|
|00000d10| 41 54 09 09 30 31 30 30 | 30 09 09 2f 2a 20 63 72 |AT..0100|0../* cr|
|00000d20| 65 61 74 65 20 69 66 20 | 6e 6f 6e 65 78 69 73 74 |eate if |nonexist|
|00000d30| 61 6e 74 20 2a 2f 0d 23 | 64 65 66 69 6e 65 09 4f |ant */.#|define.O|
|00000d40| 5f 54 52 55 4e 43 09 09 | 30 32 30 30 30 09 09 2f |_TRUNC..|02000../|
|00000d50| 2a 20 74 72 75 6e 63 61 | 74 65 20 74 6f 20 7a 65 |* trunca|te to ze|
|00000d60| 72 6f 20 6c 65 6e 67 74 | 68 20 2a 2f 0d 23 64 65 |ro lengt|h */.#de|
|00000d70| 66 69 6e 65 09 4f 5f 45 | 58 43 4c 09 09 30 34 30 |fine.O_E|XCL..040|
|00000d80| 30 30 09 09 2f 2a 20 65 | 72 72 6f 72 20 69 66 20 |00../* e|rror if |
|00000d90| 61 6c 72 65 61 64 79 20 | 65 78 69 73 74 73 20 2a |already |exists *|
|00000da0| 2f 0d 2f 2a 09 09 09 30 | 38 30 30 30 09 09 2f 2a |/./*...0|8000../*|
|00000db0| 20 75 6e 75 73 65 64 20 | 2a 2f 0d 0d 2f 2a 20 64 | unused |*/../* d|
|00000dc0| 65 66 69 6e 65 64 20 62 | 79 20 50 4f 53 49 58 20 |efined b|y POSIX |
|00000dd0| 31 30 30 33 2e 31 3b 20 | 42 53 44 20 64 65 66 61 |1003.1; |BSD defa|
|00000de0| 75 6c 74 2c 20 73 6f 20 | 6e 6f 20 62 69 74 20 72 |ult, so |no bit r|
|00000df0| 65 71 75 69 72 65 64 20 | 2a 2f 0d 23 64 65 66 69 |equired |*/.#defi|
|00000e00| 6e 65 09 4f 5f 4e 4f 43 | 54 54 59 09 30 09 09 2f |ne.O_NOC|TTY.0../|
|00000e10| 2a 20 64 6f 6e 27 74 20 | 61 73 73 69 67 6e 20 63 |* don't |assign c|
|00000e20| 6f 6e 74 72 6f 6c 6c 69 | 6e 67 20 74 65 72 6d 69 |ontrolli|ng termi|
|00000e30| 6e 61 6c 20 2a 2f 0d 0d | 2f 2a 20 6d 61 73 6b 20 |nal */..|/* mask |
|00000e40| 66 6f 72 20 66 69 6c 65 | 20 61 63 63 65 73 73 20 |for file| access |
|00000e50| 6d 6f 64 65 73 20 2a 2f | 0d 23 64 65 66 69 6e 65 |modes */|.#define|
|00000e60| 09 4f 5f 41 43 43 4d 4f | 44 45 09 28 4f 5f 52 44 |.O_ACCMO|DE.(O_RD|
|00000e70| 4f 4e 4c 59 7c 4f 5f 57 | 52 4f 4e 4c 59 7c 4f 5f |ONLY|O_W|RONLY|O_|
|00000e80| 52 44 57 52 29 0d 0d 23 | 69 66 20 5f 5f 53 54 44 |RDWR)..#|if __STD|
|00000e90| 43 5f 5f 20 7c 7c 20 63 | 5f 70 6c 75 73 70 6c 75 |C__ || c|_plusplu|
|00000ea0| 73 0d 23 69 66 64 65 66 | 20 6d 61 63 69 6e 74 6f |s.#ifdef| macinto|
|00000eb0| 73 68 0d 65 78 74 65 72 | 6e 20 69 6e 74 20 66 63 |sh.exter|n int fc|
|00000ec0| 6e 74 6c 28 69 6e 74 2c | 20 75 6e 73 69 67 6e 65 |ntl(int,| unsigne|
|00000ed0| 64 20 69 6e 74 2c 20 69 | 6e 74 29 3b 0d 65 78 74 |d int, i|nt);.ext|
|00000ee0| 65 72 6e 20 69 6e 74 20 | 63 72 65 61 74 28 63 6f |ern int |creat(co|
|00000ef0| 6e 73 74 20 63 68 61 72 | 20 2a 29 3b 0d 65 78 74 |nst char| *);.ext|
|00000f00| 65 72 6e 20 69 6e 74 20 | 6f 70 65 6e 28 63 6f 6e |ern int |open(con|
|00000f10| 73 74 20 63 68 61 72 20 | 2a 2c 20 69 6e 74 29 3b |st char |*, int);|
|00000f20| 0d 23 65 6c 73 65 0d 65 | 78 74 65 72 6e 20 69 6e |.#else.e|xtern in|
|00000f30| 74 20 66 63 6e 74 6c 28 | 69 6e 74 2c 20 69 6e 74 |t fcntl(|int, int|
|00000f40| 2c 20 69 6e 74 29 3b 0d | 65 78 74 65 72 6e 20 69 |, int);.|extern i|
|00000f50| 6e 74 20 63 72 65 61 74 | 28 63 6f 6e 73 74 20 63 |nt creat|(const c|
|00000f60| 68 61 72 20 2a 2c 20 6d | 6f 64 65 5f 74 29 3b 0d |har *, m|ode_t);.|
|00000f70| 65 78 74 65 72 6e 20 69 | 6e 74 20 6f 70 65 6e 28 |extern i|nt open(|
|00000f80| 63 6f 6e 73 74 20 63 68 | 61 72 20 2a 2c 20 69 6e |const ch|ar *, in|
|00000f90| 74 2c 20 2e 2e 2e 29 3b | 0d 23 65 6e 64 69 66 0d |t, ...);|.#endif.|
|00000fa0| 23 65 6c 73 65 0d 65 78 | 74 65 72 6e 20 69 6e 74 |#else.ex|tern int|
|00000fb0| 20 66 63 6e 74 6c 28 29 | 3b 0d 65 78 74 65 72 6e | fcntl()|;.extern|
|00000fc0| 20 69 6e 74 20 63 72 65 | 61 74 28 29 3b 0d 65 78 | int cre|at();.ex|
|00000fd0| 74 65 72 6e 20 69 6e 74 | 20 6f 70 65 6e 28 29 3b |tern int| open();|
|00000fe0| 0d 23 65 6e 64 69 66 0d | 0d 23 65 6e 64 69 66 20 |.#endif.|.#endif |
|00000ff0| 2f 2a 20 21 46 5f 44 55 | 50 46 44 20 2a 2f 0d 00 |/* !F_DU|PFD */..|
|00001000| 00 00 01 00 00 00 01 6e | 00 00 00 6e 00 00 00 3e |.......n|...n...>|
|00001010| 69 6f 6e 20 64 6f 65 73 | 20 6e 6f 74 20 77 6f 72 |ion does| not wor|
|00001020| 6b 20 69 6e 20 53 77 69 | 74 63 68 65 72 2e 39 59 |k in Swi|tcher.9Y|
|00001030| 0b 73 79 73 2f 66 63 6e | 74 6c 2e 68 02 00 00 00 |.sys/fcn|tl.h....|
|00001040| 54 45 58 54 4d 50 53 20 | 00 00 ff ff ff ff 00 00 |TEXTMPS |........|
|00001050| 00 00 54 45 58 54 4d 50 | 53 20 00 00 ff ff ff ff |..TEXTMP|S ......|
|00001060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001070| 00 00 a4 87 7f a2 00 00 | 0f 7f 00 00 01 ac 63 65 |........|......ce|
|00001080| 73 73 20 70 72 69 76 69 | 6c 65 67 65 73 20 74 6f |ss privi|leges to|
|00001090| 20 64 6f 20 74 68 61 74 | 2e 3a 54 68 65 20 44 65 | do that|.:The De|
|000010a0| 73 6b 54 6f 70 20 66 69 | 6c 65 20 63 6f 75 6c 64 |skTop fi|le could|
|000010b0| 20 6e 6f 74 20 62 65 20 | 63 6c 6f 73 65 64 2e 20 | not be |closed. |
|000010c0| 55 6e 6d 6f 75 6e 74 20 | 66 72 6f 6d 20 46 69 6e |Unmount |from Fin|
|000010d0| 64 65 72 2e 33 54 68 69 | 73 20 66 75 6e 63 74 69 |der.3Thi|s functi|
|000010e0| 6f 6e 20 69 73 20 6e 6f | 74 20 61 76 61 69 6c 61 |on is no|t availa|
|000010f0| 62 6c 65 20 2d 20 43 45 | 20 54 6f 6f 6c 62 6f 78 |ble - CE| Toolbox|
|00001100| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00001110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001120| 00 00 00 00 00 00 00 06 | 00 03 00 50 00 20 01 dd |........|...P. ..|
|00001130| 02 3d 00 50 00 20 01 dd | 02 3d a6 17 6e 8a 00 00 |.=.P. ..|.=..n...|
|00001140| 0e 29 00 00 0e 32 00 00 | 0c 29 01 00 00 00 00 1e |.)...2..|.)......|
|00001150| 00 50 00 20 01 dd 02 3d | 00 50 00 20 01 dd 02 3d |.P. ...=|.P. ...=|
|00001160| 00 00 0c 29 00 00 00 00 | 00 00 00 00 00 00 00 00 |...)....|........|
|00001170| 01 00 00 00 01 6e 00 00 | 00 6e 00 00 00 3e 00 31 |.....n..|.n...>.1|
|00001180| b0 d4 0c dc 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |........|.>..MPSR|
|00001190| 00 01 00 0a 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........|
|000011a0| 03 f0 ff ff 00 00 00 4c | 00 37 e0 ec 00 00 00 00 |.......L|.7......|
|000011b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+